﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace whatpricemyhouse.Sell
{
    public partial class ReportSelectPage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ImageButton1.Attributes.Add("onmouseover", "mouseOver1(this);");
            ImageButton1.Attributes.Add("onmouseout", "mouseOut1(this);");

            ImageButton2.Attributes.Add("onmouseover", "mouseOver2(this);");
            ImageButton2.Attributes.Add("onmouseout", "mouseOut2(this);");

            if (Session["areaName"] == null)
            {
                Response.Redirect("~/default.aspx?e=T");
            }
            else if (Session["areaName"].ToString() == "")
            {
                Response.Redirect("~/default.aspx?e=T");
            }
        }
    }
}